package com.jhgsys.internal.incentive.service;

import com.jhgsys.internal.incentive.dto.IncentiveGoodsOrderUserDto;
import com.jhgsys.internal.incentive.entity.IncentiveGoodsOrderUser;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 安全奖励订单人员 Service接口
 *
 * @author zhangwei
 * @date 2024-09-02 13:54:57
 */
public interface IIncentiveGoodsOrderUserService extends IService<IncentiveGoodsOrderUser> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-09-02 13:54:57
     * @param request QueryRequest
     * @param incentiveGoodsOrderUser incentiveGoodsOrderUser
     * @return IPage<IncentiveGoodsOrderUser>
     */
    IPage<IncentiveGoodsOrderUser> findIncentiveGoodsOrderUserPage(QueryRequest request, IncentiveGoodsOrderUser incentiveGoodsOrderUser);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-09-02 13:54:57
     * @param incentiveGoodsOrderUser incentiveGoodsOrderUser
     * @return List<IncentiveGoodsOrderUser>
     */
    List<IncentiveGoodsOrderUser> findIncentiveGoodsOrderUserList(IncentiveGoodsOrderUser incentiveGoodsOrderUser);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-09-02 13:54:57
    * @param id
    * @return IncentiveGoodsOrderUser
    */
    IncentiveGoodsOrderUser findIncentiveGoodsOrderUserById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-09-02 13:54:57
     * @param incentiveGoodsOrderUser incentiveGoodsOrderUser
     */
    void createIncentiveGoodsOrderUser(IncentiveGoodsOrderUser incentiveGoodsOrderUser);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-09-02 13:54:57
     * @param incentiveGoodsOrderUser incentiveGoodsOrderUser
     */
    void updateIncentiveGoodsOrderUser(IncentiveGoodsOrderUser incentiveGoodsOrderUser);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-09-02 13:54:57
     * @param incentiveGoodsOrderUser incentiveGoodsOrderUser
     * @param incentiveGoodsOrderUserIds incentiveGoodsOrderUserIds
     */
    void deleteIncentiveGoodsOrderUser(IncentiveGoodsOrderUser incentiveGoodsOrderUser,String incentiveGoodsOrderUserIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-09-02 13:54:57
    * @param incentiveGoodsOrderUserIds incentiveGoodsOrderUserIds
    */
    void physicallyDeleteIncentiveGoodsOrderUser(String incentiveGoodsOrderUserIds);


    Map<String,List<IncentiveGoodsOrderUser>> getUserMapByIdSet(IncentiveGoodsOrderUserDto incentiveGoodsOrderUserDto);
}
